export interface Img {
    url: string
}

export interface Detail {
    name?: string;
    pic?: string;
    price?: number;
    intro?: string;
    creator?: string;
    owner?: string;
}

export interface Ntf {
    name: string;
    pic: string;
    volume: number;
    v_24h: number;
    v_7d: number;
    floor: number;
    owner: number;
    items: number;
}

export class Newslist {
    public title?: string;
    public pic?: string;
    public content?: string;
    public time?: string;
}

export interface BTCData {
    rank: number;
    key: string;
    name: string;
    symbol: string;
    marketCap: string;
    image: string;
    price: string;
    secondaryPrice: string;
    volume: string;
    changePercent: number;
    statSymbol: string;
}






export interface Guid {
  rendered: string;
}

export interface Title {
  rendered: string;
}

export interface Content {
  rendered: string;
  protected: boolean;
}

export interface Excerpt {
  rendered: string;
  protected: boolean;
}

export interface Sel {
  href: string;
}

export interface Collection {
  href: string;
}

export interface About {
  href: string;
}

export interface Author {
  embeddable: boolean;
  href: string;
}

export interface Replies {
  embeddable: boolean;
  href: string;
}

export interface verson_history {
  count: number;
  href: string;
}

export interface WpFeaturedmedia {
  embeddable: boolean;
  href: string;
}

export interface WpAttachment {
  href: string;
}

export interface wpterm {
  taxonomy: string;
  embeddable: boolean;
  href: string;
}

export interface Curies {
  name: string;
  href: string;
  templated: boolean;
}

export interface _links {
  self: Sel[];
  collection: Collection[];
  about: About[];
  author: Author[];
  replies: Replies[];
  'version-history': verson_history[];
  'wp:featuredmedia': WpFeaturedmedia[];
  'wp:attachment': WpAttachment[];
  'wp:term': wpterm[];
  curies: Curies[];
}

export interface RootDataItem {
  id: number;
  date: string;
  date_gmt: string;
  guid: Guid;
  modified: string;
  modified_gmt: string;
  slug: string;
  status: string;
  type: string;
  link: string;
  title: Title;
  content: Content;
  excerpt: Excerpt;
  author: number;
  featured_media: number;
  comment_status: string;
  ping_status: string;
  sticky: boolean;
  template: string;
  format: string;
  meta: any[];
  categories: number[];
  tags: any[];
  series: any[];
  _links: _links;
  image: string;
}


export interface Twitter {
	logo: string;
	content: string;
	name: string;
	cont_img: string;
}


//imageSource
export interface Guid {
  rendered: string;
}

export interface Title {
  rendered: string;
}

export interface Description {
  rendered: string;
}

export interface Caption {
  rendered: string;
}

export interface Thumbnail {
  file: string;
  width: number;
  height: number;
  filesize: number;
  mime_type: string;
  source_url: string;
}

export interface Medium_large {
  file: string;
  width: number;
  height: number;
  filesize: number;
  mime_type: string;
  source_url: string;
}

export interface Full {
  file: string;
  width: number;
  height: number;
  mime_type: string;
  source_url: string;
}

export interface Size {
  thumbnail: Thumbnail;
  medium_large: Medium_large;
  full: Full;
}

export interface Image_meta {
  aperture: string;
  credit: string;
  camera: string;
  caption: string;
  created_timestamp: string;
  copyright: string;
  focal_length: string;
  iso: string;
  shutter_speed: string;
  title: string;
  orientation: string;
  keywords: any[];
}

export interface Media_details {
  width: number;
  height: number;
  file: string;
  filesize: number;
  image_meta: Image_meta;
}

export interface Sel {
  href: string;
}

export interface Collection {
  href: string;
}

export interface About {
  href: string;
}

export interface Author {
  embeddable: boolean;
  href: string;
}

export interface Replies {
  embeddable: boolean;
  href: string;
}

export interface _links {
  self: Sel[];
  collection: Collection[];
  about: About[];
  author: Author[];
  replies: Replies[];
}

export interface ImageSource {
  id: number;
  date: string;
  date_gmt: string;
  guid: Guid;
  modified: string;
  modified_gmt: string;
  slug: string;
  status: string;
  type: string;
  link: string;
  title: Title;
  author: number;
  comment_status: string;
  ping_status: string;
  template: string;
  meta: any[];
  description: Description;
  caption: Caption;
  alt_text: string;
  media_type: string;
  mime_type: string;
  media_details: Media_details;
  post?: any;
  source_url: string;
  _links: _links;
}
